import { SerializeStream } from "../../Framework/Serialize/SerializeStream";
import { SEntityId } from "./SEntityId";
import { EPetSireStatus } from "./EPetSireStatus";
type int = number;
//class SPetSireInfo
    
    export  class SPetSireInfo
    {
       

        public __write(arg1: SerializeStream): void
        {
            this.entityId.__write(arg1);
            this.status.__write(arg1);
            arg1.writeInt(this.itemCode);
            arg1.writeString(this.icon);
            arg1.writeString(this.uid);
            arg1.writeInt(this.growth);
            arg1.writeInt(this.talent);
            arg1.writeInt(this.spirit);
            arg1.writeInt(this.sex);
            arg1.writeInt(this.needLevel);
            return;
        }

        public __read(arg1: SerializeStream): void
        {
            this.entityId = new SEntityId();
            this.entityId.__read(arg1);
            this.status = EPetSireStatus.__read(arg1);
            this.itemCode = arg1.readInt();
            this.icon = arg1.readString();
            this.uid = arg1.readString();
            this.growth = arg1.readInt();
            this.talent = arg1.readInt();
            this.spirit = arg1.readInt();
            this.sex = arg1.readInt();
            this.needLevel = arg1.readInt();
            return;
        }

        public /* var */entityId: SEntityId;

        public /* var */status: EPetSireStatus;

        public /* var */itemCode: int;

        public /* var */icon: string;

        public /* var */uid: string;

        public /* var */growth: int;

        public /* var */talent: int;

        public /* var */spirit: int;

        public /* var */sex: int;

        public /* var */needLevel: int;
    }
